﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Joz.RabbitMQClient.Enum
{
    /// <summary>
    /// 交换机名称（默认四种模式，后期在推送消息可自定义）
    /// </summary>
    public class ExchangeNames
    {
        /// <summary>
        /// 对于每个绑定该交换机的队列，都能接受到消息
        /// </summary>
        public const string FanoutExchange = "FanoutExchange";
        /// <summary>
        /// 一对一绑定，交换机》队列
        /// </summary>
        public const string DirectExchange = "DirectExchange";
        /// <summary>
        /// 对于绑定到该交换机的队列，进行队列名称模糊匹配
        /// </summary>
        public const string TopicExchange = "TopicExchange";
        /// <summary>
        /// 对于绑定到该交换机的队列，进行键值匹配
        /// </summary>
        public const string HeaderExchange = "HeaderExchange";
    }
}
